
package com.tongji.quickCRUDQ.dao;

import com.tongji.quickCRUDQ.model.CommonBean;


public interface AppUserDao extends BaseDao {
	
	public CommonBean createAppUser();
	
  public CommonBean findAppUserById(String id);
	public CommonBean findAllAppUsers() ;
	public void insertAppUser(CommonBean appUserBean);

	public boolean checkUserPassword(String userName, String oldPassword);

	public void updatePassword(String userName, String newPassword);

	public void batchAccount(CommonBean accounts, String[] roleIds);
}

